package com.psy.counseling.service;

import com.psy.counseling.entity.Situation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.psy.counseling.utils.Result;
import com.psy.counseling.vo.DeleteVO;

/**
 * @author 梁学儒
 * @since 2022-05-31
 */
public interface SituationService extends IService<Situation> {

    Result<?> addSituation(Situation situation);

    Result<?> updateSituation(Situation situation);

    Result<?> deleteSituation(DeleteVO deleteVO, Integer flag);

    Result<Situation> getSituation(Long id);

    Integer getCount(Long askId);
}
